﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LJLNet.SocketTCPPeer;

namespace LJLNet
{
    public class ServerMgr
    {
        private ServerMgr(){}

        private static ServerMgr _intance { get; set; }

        public static ServerMgr GetInstance
        {
            get
            {
                if (_intance == null)
                {
                    _intance = new ServerMgr();
                }

                return _intance;                    
            }
        }

        public List<BasePeer> peerList = new List<BasePeer>();
    }
}
